.class Lcom/xingbook/group/activity/y;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method public constructor <init>(Lcom/xingbook/group/activity/GroupMainAct;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/group/activity/y;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 6

    const/4 v3, 0x0

    const/4 v2, 0x0

    const/4 v5, 0x1

    iget-object v0, p0, Lcom/xingbook/group/activity/y;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/activity/GroupMainAct;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->d(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/ui/ae;

    move-result-object v1

    invoke-virtual {v1}, Lcom/xingbook/ui/ae;->b()V

    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    :cond_1
    :goto_1
    :pswitch_0
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :pswitch_1
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->d(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/ui/ae;

    move-result-object v1

    invoke-virtual {v1, v2}, Lcom/xingbook/ui/ae;->a(Ljava/lang/String;)V

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v1

    invoke-virtual {v1, v2}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setAdapter(Landroid/widget/ListAdapter;)V

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->e(Lcom/xingbook/group/activity/GroupMainAct;)Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;

    move-result-object v1

    invoke-virtual {v1, v2}, Lcn/trinea/android/view/autoscrollviewpager/AutoScrollViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->f(Lcom/xingbook/group/activity/GroupMainAct;)Landroid/widget/RelativeLayout;

    move-result-object v1

    const v2, 0x7f0a01a8

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v1

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v0

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Lcom/fortysevendeg/swipelistview/SwipeListView;->setVisibility(I)V

    goto :goto_1

    :pswitch_2
    const-string v1, "\u8fde\u63a5\u5230\u8fdc\u7a0b\u670d\u52a1\u5668\u5931\u8d25\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u540e\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-static {v0, v1}, Lcom/xingbook/group/activity/GroupMainAct;->a(Lcom/xingbook/group/activity/GroupMainAct;Ljava/lang/String;)V

    goto :goto_1

    :pswitch_3
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->g(Lcom/xingbook/group/activity/GroupMainAct;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v1, :cond_1

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_1

    :pswitch_4
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "\u5708\u5b50\u6570\u636e\u83b7\u53d6\u5931\u8d25\uff1a"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v2, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, ",\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/xingbook/group/activity/GroupMainAct;->a(Lcom/xingbook/group/activity/GroupMainAct;Ljava/lang/String;)V

    goto :goto_1

    :pswitch_5
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/adapter/l;

    move-result-object v1

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->h(Lcom/xingbook/group/activity/GroupMainAct;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4}, Lcom/xingbook/group/adapter/l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/widget/ListView;)V

    invoke-virtual {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c()V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_6
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/adapter/l;

    move-result-object v1

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->h(Lcom/xingbook/group/activity/GroupMainAct;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4}, Lcom/xingbook/group/adapter/l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/widget/ListView;)V

    invoke-virtual {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c()V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_7
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/adapter/l;

    move-result-object v1

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->h(Lcom/xingbook/group/activity/GroupMainAct;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4}, Lcom/xingbook/group/adapter/l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/widget/ListView;)V

    invoke-virtual {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c()V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_8
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/xingbook/group/adapter/l;

    move-result-object v1

    invoke-static {}, Lcom/xingbook/group/helper/a;->a()Ljava/util/ArrayList;

    move-result-object v2

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->h(Lcom/xingbook/group/activity/GroupMainAct;)Ljava/util/ArrayList;

    move-result-object v3

    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4}, Lcom/xingbook/group/adapter/l;->a(Ljava/util/ArrayList;Ljava/util/ArrayList;Landroid/widget/ListView;)V

    invoke-virtual {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c()V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_9
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v3}, Lcom/xingbook/group/activity/GroupMainAct;->a(Lcom/xingbook/group/activity/GroupMainAct;Ljava/lang/String;Z)V

    goto/16 :goto_1

    :pswitch_a
    invoke-virtual {v0}, Lcom/xingbook/group/activity/GroupMainAct;->c()V

    goto/16 :goto_1

    :pswitch_b
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->b(Lcom/xingbook/group/activity/GroupMainAct;)Lcom/fortysevendeg/swipelistview/SwipeListView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fortysevendeg/swipelistview/SwipeListView;->closeOpenedItems()V

    goto/16 :goto_1

    :pswitch_c
    invoke-static {v0}, Lcom/xingbook/group/activity/GroupMainAct;->g(Lcom/xingbook/group/activity/GroupMainAct;)V

    const-string v1, "\u5934\u50cf\u66f4\u65b0\u5931\u8d25~"

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    if-eqz v1, :cond_1

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v5}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_1

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_1
        :pswitch_3
        :pswitch_4
        :pswitch_2
        :pswitch_c
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_0
        :pswitch_b
    .end packed-switch
.end method
